package com.example.aiyou.passwordmanage.pojo;

import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by lxbk5 on 2017-09-09.
 */

public class Password extends DataSupport implements Serializable {
    private long id;
    private String name;
    private String phone;
    private String account;
    private String description;
    private String password;
    private int type;
    private String icon;
    private Date operattime;
    private String email;
    private String nick;
    public Password() {}
    public Password(long id, String name, String phone, String account, String description, String password, int type, String icon) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.account = account;
        this.description = description;
        this.password = password;
        this.type = type;
        this.icon = icon;
    }

    public Password(String name, String phone, String account, String description, String password, int type, String icon, Date operattime) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.account = account;
        this.description = description;
        this.password = password;
        this.type = type;
        this.icon = icon;
        this.operattime = operattime;
    }

    public Password(String name, String phone, String account, String description, String password, int type, String icon, Date operattime, String email, String nick) {
        this.name = name;
        this.phone = phone;
        this.account = account;
        this.description = description;
        this.password = password;
        this.type = type;
        this.icon = icon;
        this.operattime = operattime;
        this.email = email;
        this.nick = nick;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Date getOperattime() {
        return operattime;
    }

    public void setOperattime(Date operattime) {
        this.operattime = operattime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }
}
